package com.hs.service;

import com.github.pagehelper.PageInfo;
import com.hs.entity.Certificate;

import java.util.List;

public interface CertificateService {
    //添加
    Integer addCertificate(Certificate certificate);
    //删除
    Integer deleteCertificate(Integer id);
    //修改
    Integer updateCertificate(Certificate certificate);
    //根据id查询
    Certificate getCertificateById(Integer id);
    //分页查询
    PageInfo<Certificate> getCertificateByPages(Certificate certificate,Integer pageNum, Integer pageSize);
//    List<Certificate> getCertificateByPage(Certificate certificate);
}
